package com.itfreer.power.dictionary;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Component;
import com.itfreer.form.dictionary.LocalDictionaryBase;
import com.itfreer.form.dictionary.base.DictionaryItem;

/**
 * 用户申请修改状态表
 */
@Component
public class UserApplyStateDictionary extends LocalDictionaryBase {

	@Override
	public String getDictionaryName() {
		return "p_user_apply_state";
	}

	@Override
	protected List<DictionaryItem> getDictionarys() {
		List<DictionaryItem> list = new ArrayList<DictionaryItem>();
		
		DictionaryItem item = new DictionaryItem();
		item.setId("1");
		item.setCode("1");
		item.setDisplay("草稿");
		item.setOrder(1);
		item.setInfo("草稿");
		list.add(item);
		
		item = new DictionaryItem();
		item.setId("2");
		item.setCode("2");
		item.setDisplay("待审核");
		item.setOrder(2);
		item.setInfo("待审核");
		list.add(item);
		
		item = new DictionaryItem();
		item.setId("3");
		item.setCode("3");
		item.setDisplay("审核通过");
		item.setOrder(3);
		item.setInfo("审核通过");
		list.add(item);
		
		item = new DictionaryItem();
		item.setId("4");
		item.setCode("4");
		item.setDisplay("审核不通过");
		item.setOrder(4);
		item.setInfo("审核不通过");
		list.add(item);
		return list;
	}
}